package com.ruoyi.swla2.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ruoyi.common.annotation.Excel;
import lombok.*;

/**
 * 音频文件对象 t_file_video
 *
 * @author gdqt
 * @date 2025-06-26
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_file_video")
public class FileVideo extends CommonEntity
{
    private static final long serialVersionUID = 1L;

    /**  主键id */
    @TableId(value="id",type = IdType.AUTO)
    private Long id;

    /** 上报日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上报日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("report_day")
    private Date reportDay;

    /** 设备编号 */
    @Excel(name = "设备编号")
    @TableField("device_num")
    private String deviceNum;

    /** 外键-设备台账表id */
    @Excel(name = "外键-设备台账表id")
    @TableField("ledger_id")
    private Long ledgerId;

    /** 状态：数据异常，正常，疑似，预警 */
    @Excel(name = "状态：数据异常，正常，疑似，预警")
    @TableField("status")
    private String status;

    /** db值 */
    @Excel(name = "db值")
    @TableField("db_value")
    private String dbValue;

    /** 基准噪声值 */
    @Excel(name = "基准噪声值")
    @TableField("noise_reference")
    private String noiseReference;

    /** 文件url */
    @Excel(name = "文件url")
    @TableField("file_url")
    private String fileUrl;

    /** 文件名称 */
    @Excel(name = "文件名称")
    @TableField("file_name")
    private String fileName;

    /** 文件新名 */
    @Excel(name = "文件新名")
    @TableField("new_file_name")
    private String newFileName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField("original_file_name")
    private String originalFileName;

}
